
#include "../StdAfx.h"
#include "NPacketHandler.h"
#include "NLinearPacketQueue.h"


NPacketHandler::NPacketHandler() : m_recvQueue(NULL)
{
	
}

NPacketHandler::~NPacketHandler()
{

}


void NPacketHandler::SetQueue( NLinearPacketQueue *queue )
{
	assert(NULL != queue);
	m_recvQueue = queue;
}

void NPacketHandler::Reset( void ) 
{
	assert(NULL != m_recvQueue);	
	m_recvQueue->Init();	
}

int NPacketHandler::OnProcess( void )
{
	return 0;
}

